#ifndef _MAIN_H_
#define _MAIN_H_
#include "init.h"
#include "stm32f10x.h"

extern u16 System_Mode;
extern u16 ZL_Off_Cycle;
extern u16 Err_Off_Cycle;
extern u16 ControllerStepCnt;	

extern u32 UserProgram_Data[USERPROGRAM];
extern u32 UserRead_Data[USERPROGRAM];	

extern u32 ParProgram_Data[PARPROGRAM];
extern u32 ParRead_Data[PARPROGRAM];	

extern s16 ParInit[PARNUM];
extern s16 ParMax[PARNUM];
extern s16 ParMin[PARNUM];

void Main_App(void);
void FroceTime_Ctrl(void);
void UserData_Write(u8 DelaySave);
void ZhengFa_FanSpeedOutput(void);
#endif

